It is a more specific variant of "with your hand on your heart".
Be empathetic and look for the good and human side of the person Some synonyms, words or similar expressions can be use your conscience, be empathetic, help the next